from selenium.webdriver.common.by import By
# 提供页面元素的配置信息
login_username = (By.CSS_SELECTOR, '#id_username') # 用户名
login_password = (By.ID, 'id_password') # 密码框
login_btn = (By.CSS_SELECTOR, '[type="submit"]') # 登录按钮
login_result = (By.CLASS_NAME, 'errornote') # 登录结果